package cn.com.jinhao.hotline.commons.vo.user;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 登录参数类
 *
 * @author ShaneWei
 */
@Data
@ApiModel(value = "LoginRequestVo", description = "用户登录信息")
public class LoginRequestVo {
    @ApiModelProperty(value = "用户名")
    @NotEmpty(message = "用户名不能为空")
    private String username;
    @ApiModelProperty(value = "密码")
    @NotEmpty(message = "密码不能为空")
    private String password;
}
